﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001159 RID: 4441
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SetGameplayBirthdayCsReq : IMessage<SetGameplayBirthdayCsReq>, IMessage, IEquatable<SetGameplayBirthdayCsReq>, IDeepCloneable<SetGameplayBirthdayCsReq>, IBufferMessage
	{
		// Token: 0x17003836 RID: 14390
		// (get) Token: 0x0600C6C2 RID: 50882 RVA: 0x00218680 File Offset: 0x00216880
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SetGameplayBirthdayCsReq> Parser
		{
			get
			{
				return SetGameplayBirthdayCsReq._parser;
			}
		}

		// Token: 0x17003837 RID: 14391
		// (get) Token: 0x0600C6C3 RID: 50883 RVA: 0x00218687 File Offset: 0x00216887
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SetGameplayBirthdayCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003838 RID: 14392
		// (get) Token: 0x0600C6C4 RID: 50884 RVA: 0x00218699 File Offset: 0x00216899
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SetGameplayBirthdayCsReq.Descriptor;
			}
		}

		// Token: 0x0600C6C5 RID: 50885 RVA: 0x002186A0 File Offset: 0x002168A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetGameplayBirthdayCsReq()
		{
		}

		// Token: 0x0600C6C6 RID: 50886 RVA: 0x002186A8 File Offset: 0x002168A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetGameplayBirthdayCsReq(SetGameplayBirthdayCsReq other) : this()
		{
			this.birthday_ = other.birthday_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C6C7 RID: 50887 RVA: 0x002186CD File Offset: 0x002168CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetGameplayBirthdayCsReq Clone()
		{
			return new SetGameplayBirthdayCsReq(this);
		}

		// Token: 0x17003839 RID: 14393
		// (get) Token: 0x0600C6C8 RID: 50888 RVA: 0x002186D5 File Offset: 0x002168D5
		// (set) Token: 0x0600C6C9 RID: 50889 RVA: 0x002186DD File Offset: 0x002168DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Birthday
		{
			get
			{
				return this.birthday_;
			}
			set
			{
				this.birthday_ = value;
			}
		}

		// Token: 0x0600C6CA RID: 50890 RVA: 0x002186E6 File Offset: 0x002168E6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SetGameplayBirthdayCsReq);
		}

		// Token: 0x0600C6CB RID: 50891 RVA: 0x002186F4 File Offset: 0x002168F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SetGameplayBirthdayCsReq other)
		{
			return other != null && (other == this || (this.Birthday == other.Birthday && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C6CC RID: 50892 RVA: 0x00218724 File Offset: 0x00216924
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Birthday != 0U)
			{
				num ^= this.Birthday.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C6CD RID: 50893 RVA: 0x00218763 File Offset: 0x00216963
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C6CE RID: 50894 RVA: 0x0021876B File Offset: 0x0021696B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C6CF RID: 50895 RVA: 0x00218774 File Offset: 0x00216974
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Birthday != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Birthday);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C6D0 RID: 50896 RVA: 0x002187A8 File Offset: 0x002169A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Birthday != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Birthday);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C6D1 RID: 50897 RVA: 0x002187E6 File Offset: 0x002169E6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SetGameplayBirthdayCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Birthday != 0U)
			{
				this.Birthday = other.Birthday;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C6D2 RID: 50898 RVA: 0x00218817 File Offset: 0x00216A17
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C6D3 RID: 50899 RVA: 0x00218820 File Offset: 0x00216A20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Birthday = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004FF3 RID: 20467
		private static readonly MessageParser<SetGameplayBirthdayCsReq> _parser = new MessageParser<SetGameplayBirthdayCsReq>(() => new SetGameplayBirthdayCsReq());

		// Token: 0x04004FF4 RID: 20468
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004FF5 RID: 20469
		public const int BirthdayFieldNumber = 1;

		// Token: 0x04004FF6 RID: 20470
		private uint birthday_;
	}
}
